import request from "@/utils/request";

export function getFeedbackList(data) {
  return request({
    url: `/api/Feedback/list`,
    method: "post",
    data,
  });
}
export function addFeedback(data) {
  return request({
    url: `/api/Feedback/add`,
    method: "post",
    data,
  });
}
export function updateFeedback(data) {
  return request({
    url: `/api/Feedback/update`,
    method: "post",
    data,
  });
}

export function deleteFeedback(id) {
  return request({
    url: `/api/Feedback/${id}`,
    method: "delete",
  });
}
